package com.jinlejia.erp.ui.mine.transfer;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import com.jinlejia.erp.R;
import com.jinlejia.erp.databinding.ActivityMyTransferBinding;

public class MyTransferActivity extends AppCompatActivity {

    private ActivityMyTransferBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_my_transfer);
        binding.setEvent(this);
    }

    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.back_btn:
                finish();
                break;
            case R.id.transfer_apply:
                startActivity(new Intent(MyTransferActivity.this, TransferApplyActivity.class));
                break;
            case R.id.transfer_check:
                startActivity(new Intent(MyTransferActivity.this, TransferAuditListActivity.class));
                break;
            default:
                break;
        }
    }
}
